package com.damuzee.system.system.domain;

import javax.persistence.Column;
import javax.persistence.Table;

import org.mybatis.sql.BaseBean;
import org.mybatis.sql.annotation.BaseResultMap;

import com.damuzee.system.system.persistence.PermModuleMapper;



/**
 * auto generator
 */
 
@Table(name = "sys_perm_module")
@BaseResultMap(name=PermModuleMapper.class)
public class PermModule extends BaseBean implements java.io.Serializable {
 
  
	private static final long serialVersionUID = -8168255484339179646L;
	
	@Column(name = "id")
  	private Long moduleId ;								//
  	@Column(name = "description")
  	private String description ;					//
  	@Column(name = "name")
  	private String name ;							//
  	@Column(name = "priority")
  	private Integer priority ;						//
  	@Column(name = "sn")
  	private String sn ;								//
  	@Column(name = "url")
  	private String url ;							//
  	@Column(name = "parent_id")
  	private Long parentId ;							//
 
  	private Integer leaf ;
  	
  
	public Long getModuleId() {
		return moduleId;
	}

	public void setModuleId(Long moduleId) {
		this.moduleId = moduleId;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription( String description) {
		this.description = description;
	}
	public String getName() {
		return this.name;
	}

	public void setName( String name) {
		this.name = name;
	}
	public Integer getPriority() {
		return this.priority;
	}

	public void setPriority( Integer priority) {
		this.priority = priority;
	}
	public String getSn() {
		return this.sn;
	}

	public void setSn( String sn) {
		this.sn = sn;
	}
	public String getUrl() {
		return this.url;
	}

	public void setUrl( String url) {
		this.url = url;
	}
	public Long getParentId() {
		return this.parentId;
	}

	public void setParentId( Long parentId) {
		this.parentId = parentId;
	}

	public Integer getLeaf() {
		return leaf;
	}

	public void setLeaf(Integer leaf) {
		this.leaf = leaf;
	}
	
}